<?php

abstract class Social_Adapter_OAuthAbstract
{

	/**
	 * @var string
	 */
	protected $_serviceId = '';

	/**
	 * @var obj
	 */
	protected $_clientApi = NULL;

	/**
	 * @return string
	 */
	function getServiceId()
	{
		return $this -> _serviceId;
	}

	/**
	 * @return string
	 */
	public function getCallbackUrl()
	{
		return 'http://namnv.younetco.com' . Nuo::getUrl('social/' . $this -> _serviceId . '/oauth2callback');
	}

	abstract function getClientApi();

}
